<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/8/21
 * Time: 17:38
 */
namespace Api\Controller;
use Think\Controller;
class DownloadsController extends Controller{
     public function index(){
         if (isMobile()) {
//            C('DEFAULT_THEME', 'Html/Mobile');
             $this->redirect('/Mobile/Index/index');
         }
         $this->display();
     }
}